<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/lottery_log_header_credit}

	<div class="result game-{$data['ptid']}">
		<div class="link_tab">
			<a data-bind="click:tabnav.bind($data,'Tema-tpl','a'),css:'btn '+(css()=='a'?'btn-blue':'')" href="#">特码</a>
			<a data-bind="click:tabnav.bind($data,'Longhu-tpl','b'),css:'btn '+(css()=='b'?'btn-blue':'')" href="#">龙虎斗</a>
		</div>
		<div class="result_in shadow" data-bind="template:{name:tpl,data:listItem}"></div>
		<input type="hidden" id="pageIndex" value="1" />
	</div>

	<script type="text/html" id="Tema-tpl">
		<table class="table-list" border="0" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr class="bs_table_bt1">
					<th rowspan="2">期数<i class="fr_bd"></i></th>
					<th rowspan="2"><i class="fl_bd"></i>开奖时间<i class="fr_bd"></i></th>
					<th colspan="7"><i class="fl_bd"></i>彩球号码<i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2"><i class="fl_bd"></i>总和<i class="fr_bd"></i></th>
					<th rowspan="2"><i class="fl_bd"></i>总单双<i class="fr_bd"></i></th>
					<th rowspan="2"><i class="fl_bd"></i>总大小<i class="fr_bd"></i></th>
					<th colspan="7"><i class="fl_bd"></i>特码<i class="fr_bd"></i><i class="fb_bd"></i></th>
				</tr>
				<tr>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码一<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码二<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码三<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码四<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码五<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码六<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>特码<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>单双<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>大小<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>合单双<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>合大小<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>合尾大小<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>家禽野兽<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>波段</th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<!-- ko foreach:balls -->
					<td><span data-bind="text:$data.num,css:'b_12_'+$data.num"></span><span data-bind="text:$data.name"></span></td>
					<!-- /ko -->
					<td data-bind="text:sum"></td>
					<td data-bind="html:sumOddEven"></td>
					<td data-bind="html:sumBigSmall"></td>
					<td data-bind="html:specialOddEven"></td>
					<td data-bind="html:specialBigSmall"></td>
					<td data-bind="html:specialCombOddEven"></td>
					<td data-bind="html:specialCombBigSmall"></td>
					<td data-bind="html:specialLastNum"></td>
					<td data-bind="html:specialAnimal"></td>
					<td><span data-bind="text:specialColor.name,css:specialColor.color"></span></td>
				</tr>
			</tbody>
		</table>
	</script>
	<script type="text/html" id="Longhu-tpl">
		<table class="table-list" border="0" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr>
					<th rowspan="2">期数<i class="fr_bd"></i></th>
					<th rowspan="2"><i class="fl_bd"></i>开奖时间<i class="fr_bd"></i></th>
					<th colspan="7"><i class="fl_bd"></i>彩球号码<i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="2"><i class="fl_bd"></i>上下奇偶<i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="21"><i class="fl_bd"></i>龙虎斗<i class="fb_bd"></i></th>
				</tr>
				<tr>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码一<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码二<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码三<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码四<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码五<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>正码六<i class="fr_bd"></i></th>
					<th><i class="fl_bd"></i><i class="ft_bd"></i>特码<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>上下<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>奇偶<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V2<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V3<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V4<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V5<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V6<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>1V特<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>2V3<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>2V4<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>2V5<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>2V6<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>2V特<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>3V4<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>3V5<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>3V6<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>3V特<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>4V5<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>4V6<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>4V特<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>5V6<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>5V特<i class="fr_bd"></i></th>
					<th align="center"><i class="fl_bd"></i><i class="ft_bd"></i>6V特<i class="fr_bd"></i></th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<!--ko foreach:balls-->
					<td><span data-bind="text:$data.num,css:'b_12_'+$data.num"></span><span data-bind="text:$data.name"></span></td>
					<!--/ko-->
					<td data-bind="html:upDown"></td>
					<td data-bind="html:oddEven"></td>
					<td data-bind="html:pk(1,2)"></td>
					<td data-bind="html:pk(1,3)"></td>
					<td data-bind="html:pk(1,4)"></td>
					<td data-bind="html:pk(1,5)"></td>
					<td data-bind="html:pk(1,6)"></td>
					<td data-bind="html:pk(1,7)"></td>
					<td data-bind="html:pk(2,3)"></td>
					<td data-bind="html:pk(2,4)"></td>
					<td data-bind="html:pk(2,5)"></td>
					<td data-bind="html:pk(2,6)"></td>
					<td data-bind="html:pk(2,7)"></td>
					<td data-bind="html:pk(3,4)"></td>
					<td data-bind="html:pk(3,5)"></td>
					<td data-bind="html:pk(3,6)"></td>
					<td data-bind="html:pk(3,7)"></td>
					<td data-bind="html:pk(4,5)"></td>
					<td data-bind="html:pk(4,6)"></td>
					<td data-bind="html:pk(4,7)"></td>
					<td data-bind="html:pk(5,6)"></td>
					<td data-bind="html:pk(5,7)"></td>
					<td data-bind="html:pk(6,7)"></td>
				</tr>
			</tbody>
		</table>
	</script>
	
{template index/lottery_log_footer_credit}